const mg = require("./db");

const goodsSchema = new mg.Schema({
    goodsId:{type:String},
    goodsName:{type:String},
    goodsImg:{type:String},
    kind:{type:String},
    brand:{type:String},
    logo:{type:String},
    price:{type:Number},
    stock:{type:Number},
    describe:{type:String},
    discount:{type:Number},
    tip:{type:Number},
    sales:{type:Number},
    time:{type:Number}
})

module.exports = mg.model("goods", goodsSchema);
